//
//  TeamModel.m
//  LanQiuQuan
//
//  Created by TonyGenius on 16/4/12.
//  Copyright © 2016年 Rip. All rights reserved.
//

#import "TeamModel.h"

@implementation TeamModel

- (id)initWithDictionary:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        /*
         "created":1460312007000,
         "currentCount":5,
         "id":1,
         "lostTimes":1,
         "name":"嘻哈哈",
         "orderFieldNextType":"ASC",
         "peopleCount":6,
         "status":1,
         "winTimes":1,
         "yn":1
         */
        self.created = dic[@"created"];
        self.currentCount = dic[@"currentCount"];
        self.teamID = dic[@"id"];
        self.lostTimes = dic[@"lostTimes"];
        self.name = dic[@"name"];
        self.orderFielNextType = dic[@"orderFielNextType"];
        self.peopleCount = dic[@"peopleCount"];
        self.status = dic[@"status"];
        self.winTimes = dic[@"winTimes"];
        self.yn = dic[@"yn"];
        
    }
    return self;
}

@end
